package com.Iron.Test;

import com.Iron.Service.AccountService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AccountMananger {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
        AccountService bean = context.getBean(AccountService.class);

        bean.transferMone("小明", "小红", 200);

    }

}
